using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class HoaDonDTO
    {
        #region Attributes

        private int _mahd;
        private int _makh;
        private DateTime _ngaythanhtoan;
        private Double _tongtien;

        #endregion

        #region Property

        public int MaHD
        {
            get { return _mahd; }
            set { _mahd = value; }
        }
        public int MaKH
        {
            get { return _makh; }
            set { _makh = value; }
        }
        public DateTime NgayThanhToan
        {
            get { return _ngaythanhtoan; }
            set { _ngaythanhtoan = value; }
        }
        public Double TongTien
        {
            get { return _tongtien; }
            set { _tongtien = value; }
        }

        #endregion

        #region Constructor

        public HoaDonDTO()
        {
            MaHD = 0;
            MaKH = 0;
            NgayThanhToan = new DateTime(1, 1, 1);
            TongTien = 0;
        }

        #endregion
    }
}
